/*
 * morestdio.h
 *
 *  Created on: Sep 9, 2008
 *      Author: lindenb
 */

#include <stdio.h>
#ifndef MORE_STDIO_HEADER
#define MORE_STDIO_HEADER
#ifdef  __cplusplus
extern "C" {
#endif
#define FILE_pathSeparator "/"

typedef struct File_t
    {
    char filename[FILENAME_MAX];
    FILE* io;
    }File,*FilePtr;
    
extern  FilePtr  file_new();
extern void file_delete(FilePtr);
extern FILE* file_open(FilePtr,const char*,const char*);
extern char* dirname(const char* path);
extern int fileExists(const char* path);



#ifdef  __cplusplus
}
#endif
#endif
